package net.tp.struct.adt;

public interface Deque<E> {

    public int size();

    default public boolean isEmpty() { return size() == 0; }

    public void pushFront(E element);

    public void pushBack(E element);

    public E popFront();

    public E popBack();

    public E peekFront();

    public E peekBack();
}
